<template>
  <el-container style="height: 100vh; border: 1px solid #eee">
    <el-aside width="200px" style="background-color: #324057; color: #fff">
      <PageAside></PageAside>
    </el-aside>
    <el-container>
      <el-header style="background-color: #394862; color: #fff; text-align: right; font-size: 14px">
       <PageHeader></PageHeader>
      </el-header>

      <el-main>
        <router-view/>
      </el-main>
    </el-container>
  </el-container>
</template>

<style>
.el-aside {
  height: 100%;
}

.el-header {
  line-height: 60px;
}

.el-main {
  padding: 20px;
}
</style>

<script>


import  PageAside from "./PageAside"
import PageHeader from "@/components/PageHeader";
export default {
  name: "PageIndex",
  components:{PageHeader, PageAside},

};
</script>
